package com.ggg.clothesshop.mapper;

import com.ggg.clothesshop.model.Address;
import com.ggg.clothesshop.model.Product;

import java.util.ArrayList;
import java.util.List;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer addressid);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer addressid);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

    ArrayList<Address> selectAddressesByUser(int userid);

}